Method Name |
Parameter |
Return Type |
Usage |
Example |
pdfBarcodeQRdecoder |
qrCodeFile:String |
String |
To read all Bar codes and QR codes from PDF |
PDFUtil pdf = new PDFUtil();
pdf.pdfBarcodeQRdecoder(qrCodePDF); |
generateImageFromPDF |
qrCodeFile:File |
BufferedImage |
To convert a PDF file into image for Barcode and QR code |
BufferedImage image = generateImageFromPDF(file); |
pdfTextReader |
qrCodeFile:String |
String |
To read the text contents from PDF |
PDFUtil pdf = new PDFUtil();
pdf.pdfTextReader(textPDF); |
comparePDF |
exptFile:String,actualfile:String |
void |
To compare PDF files |
comparePDF(exptFile, actualfile); |
comparePDFWord |
pdfFilePath:String,wordFilePath:String |
void |
To compare PDF file with word document |
PDFUtil pdf = new PDFUtil();
pdf.comparePDFWord(qrCodePDF, textDoc) |
doctopdf |
wordFilePath:String |
String |
|
String outputPDFPath =doctopdf(wordFilePath); |
comparePDFText |
expectfile:String,actualfile:String |
void |
|
SPDFUtil pdf = new PDFUtil();
pdf.comparePDFText(oldFile, newFile); |